package com.hongyuan.coach.ui.course.beans;

import com.hongyuan.coach.utils.TimeUtil;

import java.util.List;

public class MyCourseBeans {

    private List<ListBean> list;

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * cp_id : 70
         * cp_name : up无事献殷勤
         * m_id : 3
         * ft_id : null
         * cp_duration : 做工
         * cp_info : 一我朋友求赞求赞求赞
         * cp_people : 新功能
         * cp_suggest : 通过一下呀
         * cp_note :
         * cp_price : 858.00
         * cp_img : http://hongyuangood.oss-cn-hangzhou.aliyuncs.com/uplaod/image/20200413/e7ef10cc0e8babb318a91f5286a988f03c250578_640x878.jpeg
         * cp_num : 1
         * os_id : 18
         * is_ty : 2
         * is_del : 2
         * cp_state : 1
         * cp_anli_imgs : http://hongyuangood.oss-cn-hangzhou.aliyuncs.com/uplaod/image/20200413/a924ebcbec8632fa7f1fe53a0c2ee2f675c24553_512x288.jpeg,http://hongyuangood.oss-cn-hangzhou.aliyuncs.com/uplaod/image/20200413/1fd333d76f4f08e1725d2a9d737a6ec4560f311b_512x288.jpeg
         * verify_desc : null
         * verify_admin_id : null
         * verify_admin_name : null
         * verify_time : null
         * ft_name : null
         * os_name : 首玺健身汎港店
         * mi_realname : 陈道金
         */

        private int cp_id;
        private String cp_name;
        private int m_id;
        private Object ft_id;
        private String cp_duration;
        private String cp_info;
        private String cp_people;
        private String cp_suggest;
        private String cp_note;
        private String cp_price;
        private String cp_img;
        private int cp_num;
        private int os_id;
        private int is_ty;
        private int is_del;
        private int cp_state;
        private String cp_anli_imgs;
        private Object verify_desc;
        private Object verify_admin_id;
        private Object verify_admin_name;
        private Object verify_time;
        private Object ft_name;
        private String os_name;
        private String mi_realname;
        private String last_kong_date;
        private String coach_nickname;

        public String getCoach_nickname() {
            return coach_nickname;
        }

        public void setCoach_nickname(String coach_nickname) {
            this.coach_nickname = coach_nickname;
        }

        public String getLast_kong_date() {
            return last_kong_date;
        }

        public void setLast_kong_date(String last_kong_date) {
            this.last_kong_date = last_kong_date;
        }

        public int getCp_id() {
            return cp_id;
        }

        public void setCp_id(int cp_id) {
            this.cp_id = cp_id;
        }

        public String getCp_name() {
            return cp_name;
        }

        public void setCp_name(String cp_name) {
            this.cp_name = cp_name;
        }

        public int getM_id() {
            return m_id;
        }

        public void setM_id(int m_id) {
            this.m_id = m_id;
        }

        public Object getFt_id() {
            return ft_id;
        }

        public void setFt_id(Object ft_id) {
            this.ft_id = ft_id;
        }

        public String getCp_duration() {
            return cp_duration;
        }

        public void setCp_duration(String cp_duration) {
            this.cp_duration = cp_duration;
        }

        public String getCp_info() {
            return cp_info;
        }

        public void setCp_info(String cp_info) {
            this.cp_info = cp_info;
        }

        public String getCp_people() {
            return cp_people;
        }

        public void setCp_people(String cp_people) {
            this.cp_people = cp_people;
        }

        public String getCp_suggest() {
            return cp_suggest;
        }

        public void setCp_suggest(String cp_suggest) {
            this.cp_suggest = cp_suggest;
        }

        public String getCp_note() {
            return cp_note;
        }

        public void setCp_note(String cp_note) {
            this.cp_note = cp_note;
        }

        public String getCp_price() {
            return cp_price;
        }

        public void setCp_price(String cp_price) {
            this.cp_price = cp_price;
        }

        public String getCp_img() {
            return cp_img;
        }

        public void setCp_img(String cp_img) {
            this.cp_img = cp_img;
        }

        public int getCp_num() {
            return cp_num;
        }

        public void setCp_num(int cp_num) {
            this.cp_num = cp_num;
        }

        public int getOs_id() {
            return os_id;
        }

        public void setOs_id(int os_id) {
            this.os_id = os_id;
        }

        public int getIs_ty() {
            return is_ty;
        }

        public void setIs_ty(int is_ty) {
            this.is_ty = is_ty;
        }

        public int getIs_del() {
            return is_del;
        }

        public void setIs_del(int is_del) {
            this.is_del = is_del;
        }

        public int getCp_state() {
            return cp_state;
        }

        public void setCp_state(int cp_state) {
            this.cp_state = cp_state;
        }

        public String getCp_anli_imgs() {
            return cp_anli_imgs;
        }

        public void setCp_anli_imgs(String cp_anli_imgs) {
            this.cp_anli_imgs = cp_anli_imgs;
        }

        public Object getVerify_desc() {
            return verify_desc;
        }

        public void setVerify_desc(Object verify_desc) {
            this.verify_desc = verify_desc;
        }

        public Object getVerify_admin_id() {
            return verify_admin_id;
        }

        public void setVerify_admin_id(Object verify_admin_id) {
            this.verify_admin_id = verify_admin_id;
        }

        public Object getVerify_admin_name() {
            return verify_admin_name;
        }

        public void setVerify_admin_name(Object verify_admin_name) {
            this.verify_admin_name = verify_admin_name;
        }

        public Object getVerify_time() {
            return verify_time;
        }

        public void setVerify_time(Object verify_time) {
            this.verify_time = verify_time;
        }

        public Object getFt_name() {
            return ft_name;
        }

        public void setFt_name(Object ft_name) {
            this.ft_name = ft_name;
        }

        public String getOs_name() {
            return os_name;
        }

        public void setOs_name(String os_name) {
            this.os_name = os_name;
        }

        public String getMi_realname() {
            return mi_realname;
        }

        public void setMi_realname(String mi_realname) {
            this.mi_realname = mi_realname;
        }

        /*
         * 处理时间的显示
         * */
        public String showTimeText(){
            return "可约时间：";

            /*if(TimeUtil.isToday(last_kong_date, TimeUtil.dateFormat)){
                return "可约时间：最近 今天"+TimeUtil.formatDate(last_kong_date,TimeUtil.dateFormat,TimeUtil.dateFormatHM);
            }
            return "可约时间：最近 "+TimeUtil.formatDate(last_kong_date,TimeUtil.dateFormat,TimeUtil.dateFormatMDHM);*/
        }
    }
}
